Algorithm prediction